<!doctype html>
<html lang="zh-CN">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>番茄钟历史 - 极简Todo系统</title>
    <link
      href="https://cdn.bootcdn.net/ajax/libs/tailwindcss/2.2.19/tailwind.min.css"
      rel="stylesheet"
    />
    <link
      rel="stylesheet"
      href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"
    />
    <style>
      body {
        height: 100vh;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial,
          sans-serif;
        background-color: #f2f2f7;
      }

      .ios-status-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 44px;
        padding: 0 16px;
        font-size: 12px;
        font-weight: 600;
        color: #000;
        background-color: #ffffff;
      }

      .nav-header {
        display: flex;
        align-items: center;
        padding: 10px 16px;
        background-color: white;
        border-bottom: 1px solid #f0f0f0;
      }

      .history-item {
        display: flex;
        padding: 16px;
        background-color: white;
        border-bottom: 1px solid #e5e5e5;
      }

      .history-date {
        width: 60px;
        margin-right: 16px;
        text-align: center;
      }

      .history-day {
        font-size: 24px;
        font-weight: 700;
        color: #1c1c1e;
      }

      .history-month {
        font-size: 12px;
        color: #8e8e93;
        text-transform: uppercase;
      }

      .history-content {
        flex: 1;
      }

      .history-time {
        margin-bottom: 4px;
        font-size: 12px;
        color: #8e8e93;
      }

      .history-task {
        margin-bottom: 4px;
        font-weight: 600;
      }

      .history-category {
        display: inline-block;
        padding: 2px 8px;
        font-size: 12px;
        color: #ff5722;
        background-color: rgba(255, 87, 34, 0.1);
        border-radius: 4px;
      }

      .history-duration {
        font-size: 14px;
        font-weight: 600;
        color: #007aff;
      }
    </style>
  </head>
  <body>
    <!-- iOS 状态栏 -->
    <div class="ios-status-bar">
      <div>9:41</div>
      <div class="flex space-x-2">
        <i class="fas fa-signal"></i>
        <i class="fas fa-wifi"></i>
        <i class="fas fa-battery-full"></i>
      </div>
    </div>

    <div class="nav-header">
      <a href="pomodoro.html" class="text-blue-500">
        <i class="fas fa-chevron-left mr-2"></i>
        返回
      </a>
      <h1 class="text-xl font-semibold mx-auto">番茄钟历史</h1>
    </div>

    <div class="p-4">
      <div class="flex justify-between items-center mb-4">
        <h2 class="text-lg font-semibold text-gray-700">本周</h2>
      </div>

      <div class="bg-white rounded-lg overflow-hidden shadow-sm mb-6">
        <div class="history-item">
          <div class="history-date">
            <div class="history-day">15</div>
            <div class="history-month">6月</div>
          </div>
          <div class="history-content">
            <div class="history-time">09:30 - 09:55</div>
            <div class="history-task">完成项目报告</div>
            <div class="flex items-center justify-between">
              <span class="history-category">工作</span>
              <span class="history-duration">25分钟</span>
            </div>
          </div>
        </div>

        <div class="history-item">
          <div class="history-date">
            <div class="history-day">15</div>
            <div class="history-month">6月</div>
          </div>
          <div class="history-content">
            <div class="history-time">10:10 - 10:35</div>
            <div class="history-task">完成项目报告</div>
            <div class="flex items-center justify-between">
              <span class="history-category">工作</span>
              <span class="history-duration">25分钟</span>
            </div>
          </div>
        </div>

        <div class="history-item">
          <div class="history-date">
            <div class="history-day">14</div>
            <div class="history-month">6月</div>
          </div>
          <div class="history-content">
            <div class="history-time">15:00 - 15:25</div>
            <div class="history-task">学习新技术</div>
            <div class="flex items-center justify-between">
              <span
                class="history-category"
                style="color: #9c27b0; background-color: rgba(156, 39, 176, 0.1)"
              >
                学习
              </span>
              <span class="history-duration">25分钟</span>
            </div>
          </div>
        </div>
      </div>

      <div class="flex justify-between items-center mb-4">
        <h2 class="text-lg font-semibold text-gray-700">上周</h2>
      </div>

      <div class="bg-white rounded-lg overflow-hidden shadow-sm">
        <div class="history-item">
          <div class="history-date">
            <div class="history-day">10</div>
            <div class="history-month">6月</div>
          </div>
          <div class="history-content">
            <div class="history-time">14:00 - 14:25</div>
            <div class="history-task">准备会议材料</div>
            <div class="flex items-center justify-between">
              <span class="history-category">工作</span>
              <span class="history-duration">25分钟</span>
            </div>
          </div>
        </div>

        <div class="history-item">
          <div class="history-date">
            <div class="history-day">9</div>
            <div class="history-month">6月</div>
          </div>
          <div class="history-content">
            <div class="history-time">10:30 - 10:55</div>
            <div class="history-task">阅读专业书籍</div>
            <div class="flex items-center justify-between">
              <span
                class="history-category"
                style="color: #9c27b0; background-color: rgba(156, 39, 176, 0.1)"
              >
                学习
              </span>
              <span class="history-duration">25分钟</span>
            </div>
          </div>
        </div>
      </div>
    </div>
  </body>
</html>
